home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks95
/
IsNative.sit
/
Is Native
/
MyHideWindow.c
< prev
next >
Wrap
Text File
|
1995-06-24
|
435b
|
26 lines
//
// File: MyHideWindow.c
// Project: IsNative.π
// Author: Glenn L. Austin
// Symantec Corporation
//
#include <Traps.h>
#include "IsNative.h"
WindowPtr aboutWindow;
void* oldHideWindowTrap;
pascal void MyHideWindow(WindowPtr theWindow)
{
long oldA4 = SetA4World();
if (theWindow == aboutWindow)
{
SetToolTrapAddress(oldHideWindowTrap, _HideWindow);
StopAnimation();
aboutWindow = nil;
}
RestoreA4World(oldA4);
}